package com.yociyy;

import annotation.EnableYoCiSwagger2Doc;
import com.yociyy.security.annotation.EnableYoCiResourceServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 系统管理-主启动类
 * 
 * @author: YoCiyy
 * @date: 2020/4/15
 */
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.yociyy")
@MapperScan("com.yociyy.admin.mapper")
@EnableYoCiSwagger2Doc
@EnableYoCiResourceServer
@SpringBootApplication
public class AdminBootstrap {
	public static void main(String[] args) {
		SpringApplication.run(AdminBootstrap.class, args);
	}
}
